const MenuIcon = (props)=>{
    let data = props.menuData;
    return (
        <div style={{textAlign:'center'}}>
            <div>
                <img src={data.photo} alt="" width={'65px'}/>
            </div>
            <div>{data.name}</div>
        </div>
    )
}

export default MenuIcon;